<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SARibbon: SARibbonCustomizeWidget::PrivateData类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="SA-logo.png"/></td>
  <td id="projectalign">
   <div id="projectname">SARibbon<span id="projectnumber">&#160;2.4.2</span>
   </div>
   <div id="projectbrief">SARibbon wiki</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('class_s_a_ribbon_customize_widget_1_1_private_data.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="class_s_a_ribbon_customize_widget_1_1_private_data-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">SARibbonCustomizeWidget::PrivateData类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>管理SARibbonCustomizeWidget的业务逻辑  
 <a href="#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a437cb818920de0a79bf85f7a708e08e2" id="r_a437cb818920de0a79bf85f7a708e08e2"><td class="memItemLeft" align="right" valign="top"><a id="a437cb818920de0a79bf85f7a708e08e2" name="a437cb818920de0a79bf85f7a708e08e2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>PrivateData</b> (<a class="el" href="class_s_a_ribbon_customize_widget.html">SARibbonCustomizeWidget</a> *p)</td></tr>
<tr class="separator:a437cb818920de0a79bf85f7a708e08e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93767ae04a11fac3316e0e5b7ee04e67" id="r_a93767ae04a11fac3316e0e5b7ee04e67"><td class="memItemLeft" align="right" valign="top"><a id="a93767ae04a11fac3316e0e5b7ee04e67" name="a93767ae04a11fac3316e0e5b7ee04e67"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>updateModel</b> ()</td></tr>
<tr class="separator:a93767ae04a11fac3316e0e5b7ee04e67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af579d00bf7731718eea000c1bc2b05ea" id="r_af579d00bf7731718eea000c1bc2b05ea"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af579d00bf7731718eea000c1bc2b05ea">itemLevel</a> (QStandardItem *item) const</td></tr>
<tr class="memdesc:af579d00bf7731718eea000c1bc2b05ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取item的level  <br /></td></tr>
<tr class="separator:af579d00bf7731718eea000c1bc2b05ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac86c796586ead61c469deb5c3f9ec9a2" id="r_ac86c796586ead61c469deb5c3f9ec9a2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac86c796586ead61c469deb5c3f9ec9a2">isCustomizeItem</a> (QStandardItem *item) const</td></tr>
<tr class="memdesc:ac86c796586ead61c469deb5c3f9ec9a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断itemn为自定义的item，自定义的item都带有CustomizeRole角色  <br /></td></tr>
<tr class="separator:ac86c796586ead61c469deb5c3f9ec9a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4a92db25bee67fee55b501f583be947" id="r_ae4a92db25bee67fee55b501f583be947"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_a_ribbon_category.html">SARibbonCategory</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae4a92db25bee67fee55b501f583be947">itemToCategory</a> (QStandardItem *item) const</td></tr>
<tr class="memdesc:ae4a92db25bee67fee55b501f583be947"><td class="mdescLeft">&#160;</td><td class="mdescRight">把item转换为category  <br /></td></tr>
<tr class="separator:ae4a92db25bee67fee55b501f583be947"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3c171dafde9870ffbfa7db524f11456" id="r_ae3c171dafde9870ffbfa7db524f11456"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_a_ribbon_pannel.html">SARibbonPannel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae3c171dafde9870ffbfa7db524f11456">itemToPannel</a> (QStandardItem *item) const</td></tr>
<tr class="memdesc:ae3c171dafde9870ffbfa7db524f11456"><td class="mdescLeft">&#160;</td><td class="mdescRight">把item转换为pannel  <br /></td></tr>
<tr class="separator:ae3c171dafde9870ffbfa7db524f11456"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1f46ef88826c8fc46267fbc1e70555d" id="r_ae1f46ef88826c8fc46267fbc1e70555d"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae1f46ef88826c8fc46267fbc1e70555d">itemObjectName</a> (QStandardItem *item) const</td></tr>
<tr class="memdesc:ae1f46ef88826c8fc46267fbc1e70555d"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取item对应的objectname  <br /></td></tr>
<tr class="separator:ae1f46ef88826c8fc46267fbc1e70555d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86443bb020a923a4acd9675df7dcd296" id="r_a86443bb020a923a4acd9675df7dcd296"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a86443bb020a923a4acd9675df7dcd296">isItemCanCustomize</a> (QStandardItem *item) const</td></tr>
<tr class="memdesc:a86443bb020a923a4acd9675df7dcd296"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断item是否可自定义  <br /></td></tr>
<tr class="separator:a86443bb020a923a4acd9675df7dcd296"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a32e97520c5a57ad454a7979549da54" id="r_a1a32e97520c5a57ad454a7979549da54"><td class="memItemLeft" align="right" valign="top">QAction *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1a32e97520c5a57ad454a7979549da54">itemToAction</a> (QStandardItem *item) const</td></tr>
<tr class="memdesc:a1a32e97520c5a57ad454a7979549da54"><td class="mdescLeft">&#160;</td><td class="mdescRight">从item 转为action  <br /></td></tr>
<tr class="separator:a1a32e97520c5a57ad454a7979549da54"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a0589ef08ecbd21e5921807f8a6596628" id="r_a0589ef08ecbd21e5921807f8a6596628"><td class="memItemLeft" align="right" valign="top">static QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0589ef08ecbd21e5921807f8a6596628">makeRandomObjName</a> (const QString &amp;pre)</td></tr>
<tr class="memdesc:a0589ef08ecbd21e5921807f8a6596628"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建一个随机id，形如：pre_QDateTime::currentMSecsSinceEpoch  <br /></td></tr>
<tr class="separator:a0589ef08ecbd21e5921807f8a6596628"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a1dd07b477e27062f82d4757ebfb0a68e" id="r_a1dd07b477e27062f82d4757ebfb0a68e"><td class="memItemLeft" align="right" valign="top"><a id="a1dd07b477e27062f82d4757ebfb0a68e" name="a1dd07b477e27062f82d4757ebfb0a68e"></a>
<a class="el" href="class_s_a_ribbon_customize_widget.html#a91bbce0a00a6d1c38ad9afc01ad59aaa">SARibbonCustomizeWidget::RibbonTreeShowType</a>&#160;</td><td class="memItemRight" valign="bottom"><b>mShowType</b> { <a class="el" href="class_s_a_ribbon_customize_widget.html#a91bbce0a00a6d1c38ad9afc01ad59aaaa53cfbcb075a3d4edfb4397432d731980">SARibbonCustomizeWidget::ShowAllCategory</a> }</td></tr>
<tr class="memdesc:a1dd07b477e27062f82d4757ebfb0a68e"><td class="mdescLeft">&#160;</td><td class="mdescRight">显示类型 <br /></td></tr>
<tr class="separator:a1dd07b477e27062f82d4757ebfb0a68e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa994ffd506318e65c4fcd105f011a2c1" id="r_aa994ffd506318e65c4fcd105f011a2c1"><td class="memItemLeft" align="right" valign="top"><a id="aa994ffd506318e65c4fcd105f011a2c1" name="aa994ffd506318e65c4fcd105f011a2c1"></a>
<a class="el" href="class_s_a_ribbon_bar.html">SARibbonBar</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mRibbonBar</b> { nullptr }</td></tr>
<tr class="memdesc:aa994ffd506318e65c4fcd105f011a2c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">保存SARibbonMainWindow的指针 <br /></td></tr>
<tr class="separator:aa994ffd506318e65c4fcd105f011a2c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38aaf048b030a1bf773735fc01374757" id="r_a38aaf048b030a1bf773735fc01374757"><td class="memItemLeft" align="right" valign="top"><a id="a38aaf048b030a1bf773735fc01374757" name="a38aaf048b030a1bf773735fc01374757"></a>
<a class="el" href="class_s_a_ribbon_actions_manager.html">SARibbonActionsManager</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mActionMgr</b> { nullptr }</td></tr>
<tr class="memdesc:a38aaf048b030a1bf773735fc01374757"><td class="mdescLeft">&#160;</td><td class="mdescRight">action管理器 <br /></td></tr>
<tr class="separator:a38aaf048b030a1bf773735fc01374757"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f671b2d9f284dd5d1331d01f845f5e2" id="r_a6f671b2d9f284dd5d1331d01f845f5e2"><td class="memItemLeft" align="right" valign="top"><a id="a6f671b2d9f284dd5d1331d01f845f5e2" name="a6f671b2d9f284dd5d1331d01f845f5e2"></a>
<a class="el" href="class_s_a_ribbon_actions_manager_model.html">SARibbonActionsManagerModel</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mAcionModel</b> { nullptr }</td></tr>
<tr class="memdesc:a6f671b2d9f284dd5d1331d01f845f5e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">action管理器对应的model <br /></td></tr>
<tr class="separator:a6f671b2d9f284dd5d1331d01f845f5e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc49867b72b274febb1770e1096b70a8" id="r_abc49867b72b274febb1770e1096b70a8"><td class="memItemLeft" align="right" valign="top"><a id="abc49867b72b274febb1770e1096b70a8" name="abc49867b72b274febb1770e1096b70a8"></a>
QStandardItemModel *&#160;</td><td class="memItemRight" valign="bottom"><b>mRibbonModel</b> { nullptr }</td></tr>
<tr class="memdesc:abc49867b72b274febb1770e1096b70a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于很成ribbon的树 <br /></td></tr>
<tr class="separator:abc49867b72b274febb1770e1096b70a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a654feb66ea016cbcf292267c05ee3373" id="r_a654feb66ea016cbcf292267c05ee3373"><td class="memItemLeft" align="right" valign="top"><a id="a654feb66ea016cbcf292267c05ee3373" name="a654feb66ea016cbcf292267c05ee3373"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>mCustomizeCategoryCount</b> { 0 }</td></tr>
<tr class="memdesc:a654feb66ea016cbcf292267c05ee3373"><td class="mdescLeft">&#160;</td><td class="mdescRight">记录自定义Category的个数 <br /></td></tr>
<tr class="separator:a654feb66ea016cbcf292267c05ee3373"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8fc6b8feb5fb4045f0a166613872eee" id="r_aa8fc6b8feb5fb4045f0a166613872eee"><td class="memItemLeft" align="right" valign="top"><a id="aa8fc6b8feb5fb4045f0a166613872eee" name="aa8fc6b8feb5fb4045f0a166613872eee"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>mCustomizePannelCount</b> { 0 }</td></tr>
<tr class="memdesc:aa8fc6b8feb5fb4045f0a166613872eee"><td class="mdescLeft">&#160;</td><td class="mdescRight">记录自定义Pannel的个数 <br /></td></tr>
<tr class="separator:aa8fc6b8feb5fb4045f0a166613872eee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a115c4e7f2c96fc0b55d4400daeb6339f" id="r_a115c4e7f2c96fc0b55d4400daeb6339f"><td class="memItemLeft" align="right" valign="top"><a id="a115c4e7f2c96fc0b55d4400daeb6339f" name="a115c4e7f2c96fc0b55d4400daeb6339f"></a>
QList&lt; <a class="el" href="class_s_a_ribbon_customize_data.html">SARibbonCustomizeData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mCustomizeDatasCache</b></td></tr>
<tr class="memdesc:a115c4e7f2c96fc0b55d4400daeb6339f"><td class="mdescLeft">&#160;</td><td class="mdescRight">缓存记录所有的自定义动作 <br /></td></tr>
<tr class="separator:a115c4e7f2c96fc0b55d4400daeb6339f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a1e743909674c6acea53c28771d3a6b" id="r_a4a1e743909674c6acea53c28771d3a6b"><td class="memItemLeft" align="right" valign="top"><a id="a4a1e743909674c6acea53c28771d3a6b" name="a4a1e743909674c6acea53c28771d3a6b"></a>
QList&lt; <a class="el" href="class_s_a_ribbon_customize_data.html">SARibbonCustomizeData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mCustomizeDatasApplied</b></td></tr>
<tr class="memdesc:a4a1e743909674c6acea53c28771d3a6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">应用后的所有的自定义动作 <br /></td></tr>
<tr class="separator:a4a1e743909674c6acea53c28771d3a6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f5887af52640f8f7b19e8c0b74b161d" id="r_a7f5887af52640f8f7b19e8c0b74b161d"><td class="memItemLeft" align="right" valign="top"><a id="a7f5887af52640f8f7b19e8c0b74b161d" name="a7f5887af52640f8f7b19e8c0b74b161d"></a>
QList&lt; <a class="el" href="class_s_a_ribbon_customize_data.html">SARibbonCustomizeData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mOldCustomizeDatas</b></td></tr>
<tr class="memdesc:a7f5887af52640f8f7b19e8c0b74b161d"><td class="mdescLeft">&#160;</td><td class="mdescRight">记录旧的自定义动作,本地文件缓存 <br /></td></tr>
<tr class="separator:a7f5887af52640f8f7b19e8c0b74b161d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>管理SARibbonCustomizeWidget的业务逻辑 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ac86c796586ead61c469deb5c3f9ec9a2" name="ac86c796586ead61c469deb5c3f9ec9a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac86c796586ead61c469deb5c3f9ec9a2">&#9670;&#160;</a></span>isCustomizeItem()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SARibbonCustomizeWidget::PrivateData::isCustomizeItem </td>
          <td>(</td>
          <td class="paramtype">QStandardItem *</td>          <td class="paramname"><span class="paramname"><em>item</em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断itemn为自定义的item，自定义的item都带有CustomizeRole角色 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a86443bb020a923a4acd9675df7dcd296" name="a86443bb020a923a4acd9675df7dcd296"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86443bb020a923a4acd9675df7dcd296">&#9670;&#160;</a></span>isItemCanCustomize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SARibbonCustomizeWidget::PrivateData::isItemCanCustomize </td>
          <td>(</td>
          <td class="paramtype">QStandardItem *</td>          <td class="paramname"><span class="paramname"><em>item</em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断item是否可自定义 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="af579d00bf7731718eea000c1bc2b05ea" name="af579d00bf7731718eea000c1bc2b05ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af579d00bf7731718eea000c1bc2b05ea">&#9670;&#160;</a></span>itemLevel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SARibbonCustomizeWidget::PrivateData::itemLevel </td>
          <td>(</td>
          <td class="paramtype">QStandardItem *</td>          <td class="paramname"><span class="paramname"><em>item</em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取item的level </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="ae1f46ef88826c8fc46267fbc1e70555d" name="ae1f46ef88826c8fc46267fbc1e70555d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1f46ef88826c8fc46267fbc1e70555d">&#9670;&#160;</a></span>itemObjectName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString SARibbonCustomizeWidget::PrivateData::itemObjectName </td>
          <td>(</td>
          <td class="paramtype">QStandardItem *</td>          <td class="paramname"><span class="paramname"><em>item</em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取item对应的objectname </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果无法获取，返回一个空的QString </dd></dl>

</div>
</div>
<a id="a1a32e97520c5a57ad454a7979549da54" name="a1a32e97520c5a57ad454a7979549da54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a32e97520c5a57ad454a7979549da54">&#9670;&#160;</a></span>itemToAction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QAction * SARibbonCustomizeWidget::PrivateData::itemToAction </td>
          <td>(</td>
          <td class="paramtype">QStandardItem *</td>          <td class="paramname"><span class="paramname"><em>item</em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从item 转为action </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="ae4a92db25bee67fee55b501f583be947" name="ae4a92db25bee67fee55b501f583be947"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4a92db25bee67fee55b501f583be947">&#9670;&#160;</a></span>itemToCategory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_a_ribbon_category.html">SARibbonCategory</a> * SARibbonCustomizeWidget::PrivateData::itemToCategory </td>
          <td>(</td>
          <td class="paramtype">QStandardItem *</td>          <td class="paramname"><span class="paramname"><em>item</em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>把item转换为category </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>无法转换返回nullptr </dd></dl>

</div>
</div>
<a id="ae3c171dafde9870ffbfa7db524f11456" name="ae3c171dafde9870ffbfa7db524f11456"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3c171dafde9870ffbfa7db524f11456">&#9670;&#160;</a></span>itemToPannel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_a_ribbon_pannel.html">SARibbonPannel</a> * SARibbonCustomizeWidget::PrivateData::itemToPannel </td>
          <td>(</td>
          <td class="paramtype">QStandardItem *</td>          <td class="paramname"><span class="paramname"><em>item</em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>把item转换为pannel </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>无法转换返回nullptr </dd></dl>

</div>
</div>
<a id="a0589ef08ecbd21e5921807f8a6596628" name="a0589ef08ecbd21e5921807f8a6596628"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0589ef08ecbd21e5921807f8a6596628">&#9670;&#160;</a></span>makeRandomObjName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString SARibbonCustomizeWidget::PrivateData::makeRandomObjName </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;</td>          <td class="paramname"><span class="paramname"><em>pre</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>创建一个随机id，形如：pre_QDateTime::currentMSecsSinceEpoch </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pre</td><td>前缀 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/src/Qt/SARibbon/src/SARibbonBar/<b>SARibbonCustomizeWidget.cpp</b></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_s_a_ribbon_customize_widget.html">SARibbonCustomizeWidget</a></li><li class="navelem"><a class="el" href="class_s_a_ribbon_customize_widget_1_1_private_data.html">PrivateData</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>
